import { Module } from '@nestjs/common';
import { SpecialColumnService } from './special-column.service';
import { SpecialColumnController } from './special-column.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Article } from 'src/article/entities/article.entity';
import { ArticleColumnRelated } from 'src/article/entities/article-column-related.entity';
import { SpecialColumn } from './entities/special-column.entity';
import { Role } from 'src/user/entities/role.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([
      Article,
      ArticleColumnRelated,
      SpecialColumn,
      Role,
    ]),
  ],
  controllers: [SpecialColumnController],
  providers: [SpecialColumnService],
  exports: [SpecialColumnService],
})
export class SpecialColumnModule {}
